package com.xbfinance.portal.dao;


import java.util.List;

import com.xbfinance.portal.pojo.po.P2pUser;
import com.xbfinance.portal.pojo.po.P2pUserExample;
import org.apache.ibatis.annotations.Param;

public interface P2pUserMapper {
    int countByExample(P2pUserExample example);

    int deleteByExample(P2pUserExample example);

    int deleteByPrimaryKey(Integer userid);

    int insert(P2pUser record);

    int insertSelective(P2pUser record);

    List<P2pUser> selectByExample(P2pUserExample example);

    P2pUser selectByPrimaryKey(Integer userid);

    int updateByExampleSelective(@Param("record") P2pUser record, @Param("example") P2pUserExample example);

    int updateByExample(@Param("record") P2pUser record, @Param("example") P2pUserExample example);

    int updateByPrimaryKeySelective(P2pUser record);

    int updateByPrimaryKey(P2pUser record);
}